package com.petrooil.core.dao;

import com.petrooil.core.model.WorkflowRule;

import java.util.List;

public interface WorkflowRuleDao  extends CrudDao<WorkflowRule> {

    WorkflowRule getRuleByFormAndDep(String form, String department);

    List<WorkflowRule> getRulesByDepartment(String department);

    List<WorkflowRule> findAll();

}
